CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(Simulation)

SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake.helpers/")

FIND_PACKAGE(GSL REQUIRED)
FIND_PACKAGE(Qt4 REQUIRED)
FIND_PACKAGE(Qwt REQUIRED)

SET(QT_USE_OPENGL TRUE)
SET(QT_USE_QTXML TRUE)

set(CMAKE_CXX_FLAGS "-Wall -pedantic ${CMAKE_GSL_CXX_FLAGS} -I${QWT_INCLUDE_DIR}")
add_subdirectory(src)
